<include file="Public/frame-header" />
</head>
<body class="J_scroll_fixed" style="min-width:800px;">
<div class="wrap J_check_wrap">
	<ul class="nav nav-tabs">
	   <li class="active"><a href="{:U('/Admin/Beautician/jobTitleAdmin')}">美容师职称列表</a></li>
	   <li class=""><a href="{:U('/Admin/Beautician/addJobTitle')}">添加美容师职称名</a></li>
	</ul>
	
	<form class="J_ajaxForm" action="" method="post">
		<div class="table-actions">
			<button class="btn btn-primary btn-small J_ajax_submit_btn" type="submit" 
			data-action="{:u('/Admin/Beautician/deleteJobTitle')}" data-subcheck="true" data-msg="你确定删除吗？">删除</button>
		</div>
		<table class="table table-hover table-bordered table-list">
			<thead>
				<tr>
					<th width="15"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
					<th>ID</th>
					<th>职称名</th>
					<th>操作</th>
				</tr>
			</thead>
			<foreach name="list" item="item">
			<tr>
				<td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="{$item.id}" ></td>
				<td>{$item.id}</td>
				<td>{$item.title}</td>
				<td >
					<a target="_blank" href="{:U('/Admin/Beautician/editJobTitle/id/'.$item['id'])}">修改</a>
					<a class="J_ajax_del" href="{:U('/Admin/Beautician/deleteJobTitle/id/'.$item['id'])}">删除</a>
				</td>
			</tr>
			</foreach>
			<tfoot>
				<tr>
					<th width="15"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
					<th>ID</th>
					<th>职称名</th>
					<th>操作</th>
				</tr>
			</tfoot>
		</table>
		<div class="table-actions">
			<button class="btn btn-primary btn-small J_ajax_submit_btn" type="submit" 
			data-action="{:u('/Admin/Beautician/deleteJobTitle')}" data-subcheck="true" data-msg="你确定删除吗？">删除</button>
		</div>
		<div class="pagination">{$Page}</div>
	</form>
	<script src="__ADMIN__/statics/js/common.js"></script>
</body>
</html>
